package com.sgb.kjwl.view.ui.activity.self.order;

import androidx.fragment.app.Fragment;

import com.sgb.kjwl.AppFragment;

public abstract class BaseLazyFragment extends AppFragment {

    boolean isFirstLoad = true;

    @Override
    public void onResume() {
        super.onResume();
        if (isFirstLoad) {
            initData();
            isFirstLoad = !isFirstLoad;
        }
    }

    protected abstract void initData();


}
